<template>
    <div class="financeListCardBox">
        <div class="financeListCardBox_Left">
            <img style="width: 100%;height: 100%;" :src="store.imgfengMian + formData.fengmian" alt="">
        </div>
        <div class="financeListCardBox_Right">
            <div class="jrlistRightNr">
                <div class="TitleBox">{{ formData.org_name }} - {{ formData.name }}</div>
                <div class="jrlistRightText">
                    <div class="jrlistRightTextFor">
                        <div class="jrlistRightsjzs" style="color: #EF1F1F;">
                            <span class="shujuBox">{{ formData.base_rate_min }}-{{ formData.base_rate_max }}</span>
                            <span class="dwBox">%</span>
                        </div>
                        <div class="jrlistRightdbwz">参考利率范围</div>
                    </div>
                    <div class="jrlistRightTextFor">
                        <div class="jrlistRightsjzs">
                            <span class="shujuBox">{{ formData.loan_limit }}</span>
                            <span class="dwBox">万</span>
                        </div>
                        <div class="jrlistRightdbwz">贷款额度</div>
                    </div>
                    <div class="jrlistRightTextFor">
                        <div class="jrlistRightsjzs">
                            <span class="shujuBox">{{ formData.loan_term }}</span>
                            <span class="dwBox">个月</span>
                        </div>
                        <div class="jrlistRightdbwz">贷款期限</div>
                    </div>
                    <div class="jrlistRightTextFor">
                        <div class="jrlistRightsjzs">
                            <span class="shujuBox">{{ formData.guarantee_mode }}</span>
                        </div>
                        <div class="jrlistRightdbwz">担保方式</div>
                    </div>
                </div>
            </div>
            <div class="jrlistRightButton" @click="$emit('ckxqClick',formData.id)">
                <div class="ckxqBox">查看详情</div>
            </div>
        </div>
    </div>
</template>
<script setup>
import { useStore } from '@/store/store';
const store = useStore();
defineProps({
    formData: {
        type: Object,
        default: () => ({})
    }
})
</script>
<style scoped lang="scss">
.financeListCardBox {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;

    .financeListCardBox_Left {
        width: 25%;
        border-right: 1px solid #D9D9D9;
        padding: 30px;
    }

    .financeListCardBox_Right {
        width: 75%;
        padding: 20px 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .jrlistRightNr {
            width: 75%;

            .TitleBox {
                font-weight: bold;
                font-size: 22px;
                color: #333333;
            }

            .jrlistRightText {
                display: flex;
                justify-content: space-between;
                margin-top: 30px;

                .jrlistRightTextFor {
                    .jrlistRightsjzs {
                        color: #333333;

                        .shujuBox {
                            font-weight: bold;
                            font-size: 22px;
                        }

                        .dwBox {
                            font-size: 14px;
                        }
                    }

                    .jrlistRightdbwz {
                        font-size: 16px;
                        color: #545454;
                    }
                }
            }
        }


        .jrlistRightButton {
            width: 25%;
            display: flex;
            justify-content: flex-end;

            .ckxqBox {
                background: #2B893A;
                border-radius: 2px;
                padding: 8px 40px;
                font-size: 14px;
                color: #FFFFFF;
                cursor: pointer;
            }
        }
    }
}
</style>